package com.echovin.esb.gateway.service.impl;

import com.echovin.esb.gateway.mapper.GatewayAccessLogMapper;
import com.echovin.esb.gateway.model.GatewayAccessLog;
import com.echovin.esb.gateway.service.GatewayAccessLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class GatewayAccessLogServiceImpl implements GatewayAccessLogService {
    @Autowired
    GatewayAccessLogMapper gatewayAccessLogMapper;

    @Override
    public int insert(GatewayAccessLog record) {
        return gatewayAccessLogMapper.insert(record);
    }

    @Override
    public int delete(GatewayAccessLog record) {
        return gatewayAccessLogMapper.delete(record);
    }
}
